package org.zfes.snowier.zbss.xzy.message;
import java.io.Serializable;

import org.zfes.snowier.core.data.IBaseModel;
public class MessageDto  implements Serializable{

	private static final long serialVersionUID = 1L;
	
	public MessageDto() {}
	public MessageDto(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->

 
	protected Long id;
	  private java.lang.Long typeId;
	  private java.lang.Long deviceId;
	@org.hibernate.validator.constraints.Length(min=0,max=60,message="设备编号长度不能大于60")
	  private java.lang.String deviceNum;
	@org.hibernate.validator.constraints.Length(min=0,max=100,message="预警标题长度不能大于100")
	  private java.lang.String title;
	@org.hibernate.validator.constraints.Length(min=0,max=100,message="备注长度不能大于100")
	  private java.lang.String remark;
	  private java.lang.Byte status;
	  private java.util.Date createTime;
	  private java.util.Date updateTime;
	  private java.lang.Byte handleStatus;
	@org.hibernate.validator.constraints.Length(min=0,max=255,message="文件id集合长度不能大于255")
	  private java.lang.String fileIds;
	@org.hibernate.validator.constraints.Length(min=0,max=2147483647,message="详细描述长度不能大于2,147,483,647")
	  private java.lang.String content;
 
	
	//<-------------------------------------------->
	public MessageDto setTypeId(java.lang.Long typeId){
	 this.typeId=typeId;
	 return this;
	}
	public java.lang.Long getTypeId(){
		return this.typeId;
	}
	public MessageDto setDeviceId(java.lang.Long deviceId){
	 this.deviceId=deviceId;
	 return this;
	}
	public java.lang.Long getDeviceId(){
		return this.deviceId;
	}
	public MessageDto setDeviceNum(java.lang.String deviceNum){
		this.deviceNum=deviceNum==null?null:deviceNum.trim();
	 return this;
	}
	public java.lang.String getDeviceNum(){
		return this.deviceNum;
	}
	public MessageDto setTitle(java.lang.String title){
		this.title=title==null?null:title.trim();
	 return this;
	}
	public java.lang.String getTitle(){
		return this.title;
	}
	public MessageDto setRemark(java.lang.String remark){
		this.remark=remark==null?null:remark.trim();
	 return this;
	}
	public java.lang.String getRemark(){
		return this.remark;
	}
	public MessageDto setStatus(java.lang.Byte status){
	 this.status=status;
	 return this;
	}
	public java.lang.Byte getStatus(){
		return this.status;
	}
	public MessageDto setCreateTime(java.util.Date createTime){
	 this.createTime=createTime;
	 return this;
	}
	public java.util.Date getCreateTime(){
		return this.createTime;
	}
	public MessageDto setUpdateTime(java.util.Date updateTime){
	 this.updateTime=updateTime;
	 return this;
	}
	public java.util.Date getUpdateTime(){
		return this.updateTime;
	}
	public MessageDto setHandleStatus(java.lang.Byte handleStatus){
	 this.handleStatus=handleStatus;
	 return this;
	}
	public java.lang.Byte getHandleStatus(){
		return this.handleStatus;
	}
	public MessageDto setFileIds(java.lang.String fileIds){
		this.fileIds=fileIds==null?null:fileIds.trim();
	 return this;
	}
	public java.lang.String getFileIds(){
		return this.fileIds;
	}
	public MessageDto setContent(java.lang.String content){
		this.content=content==null?null:content.trim();
	 return this;
	}
	public java.lang.String getContent(){
		return this.content;
	}
	public Long getId() {
		return id;
	}
	public MessageDto setId(Long id) {
		this.id = id;
		 return this;
	}
	@Override
	public String toString() {
		return "MessageDto [id=" + id + ", typeId=" + typeId + ", deviceId=" + deviceId + ", deviceNum=" + deviceNum
				+ ", title=" + title + ", remark=" + remark + ", status=" + status + ", createTime=" + createTime
				+ ", updateTime=" + updateTime + ", handleStatus=" + handleStatus + ", fileIds=" + fileIds
				+ ", content=" + content + "]";
	}
	
	
}
